﻿<%@ Page Language="C#" AutoEventWireup="true" CodeFile="cadastroOcorrencia.aspx.cs" Inherits="cadastroOcorrencia" Debug="true"%>


<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" dir="ltr" lang="pt-br">
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
<title> Sistema Gerenciador de Ocorrências</title>

<link rel="stylesheet" href="css/corpo.css" type="text/css" media="print, projection, screen">
<link rel="stylesheet" href="css/st.css" type="text/css" media="print, projection, screen">

<script src="js/jquery.js" type="text/javascript">
</script>
<script type="text/javascript" src="js/MascaraNumero.js">
</script>   				 		
<script type="text/javascript" src="js/validaCadastro.js">
</script>

        <style type="text/css" media="screen, projection">
            
            /* Not required for Tabs, just to make this demo look better... */
            body {
                font-size: 12px; /* @ EOMB */
            }
            
            body * {
                font-size: 87.5%;
                font-family: "Trebuchet MS", Trebuchet, Verdana, Helvetica, Arial, sans-serif;
            }
            
            body * * {
                font-size: 100%;
            }
            h1 {
                margin: 1em 0 1.5em;
                font-size: 18px;
            }
            
            h2 {
                margin: 2em 0 1.5em;
                font-size: 16px;
            }
            
            p {
                margin: 0;
            }
            
            pre, pre + p, p + p {
                margin: 1em 0 0;
            }
            
            code {
                font-family: "Courier New", Courier, monospace;
            }
        </style>

</head>

<body id="home" class="log">
<div id="header">
  <div id="logo">
    <h1 id="blogname"><a href="#">
      Sistema Gerenciador de Ocorrências      </a></h1>
    <div class="description">
      Sistema de apóio a combates estruturais de naturezas diversas    </div>

  </div>
  <div>
    <ul class="navigation">
           <li class="current_page_item"><a href="#" title="Blog"><span>Cadastro de Ocorrência</span></a></li>
      
    </ul>
  </div>
</div>
<div id="wrap">

<div id="content">
<form id="formOcorrencia" runat="server">
<fieldset id="fieldset" style="width:550px;">
    <legend>Dados da Ocorrência</legend>
    <table>
        <fildset>
        <tr>
          <td>
            <label for="nome2">
                Código: 
            </label>
           </td>
           <td>
	        <input name="codigo" type="text" runat="server" id="codigo" maxlength="50" value="" readonly />
	       </td>
	    </tr>
	    </fildset>
        <tr>
          <td>
            <label for="nome2">
                Av/Rua: 
            </label>
           </td>
           <td>
	        <input name="rua" type="text" id="rua" runat="server" maxlength="50" value="" size="50" onkeydown="removeValidacao(this.id);"><asp:Label id="srua" class="msgErro" style="display: inline;" Text="" runat="server"></asp:Label>
	       </td>
	    </tr>
        <tr>
          <td>
            <label for="nome2">
                Bairro: 
            </label>
           </td>
           <td>
                <select id="bairro" name="bairro" runat="server" style="width:260px" onchange="removeValidacao(this.id);">
                <option value="">SELECIONE</option>
                <option value="11953">AFLITOS</option>
                <option value="11954">AFOGADOS</option>
                <option value="11956">ALTO DO MANDU</option>
                <option value="11957">ALTO JOSE BONIFACIO</option>
                <option value="11958">ALTO JOSE DO PINHO</option>
                <option value="11959">ALTO SANTA TEREZINHA</option>
                <option value="11960">APIPUCOS</option>
                <option value="11961">AREIAS</option>
                <option value="11962">ARRUDA</option>
                <option value="11963">BARRO</option>
                <option value="11964">BEBERIBE</option>
                <option value="37087">BENFICA</option>
                <option value="11965">BOA VIAGEM</option>
                <option value="11966">BOA VISTA</option>
                <option value="11967">BOMBA DO HEMETERIO</option>
                <option value="11968">BONGI</option>
                <option value="11969">BRASILIA TEIMOSA</option>
                <option value="11970">BREJO DA GUABIRABA</option>
                <option value="11971">BREJO DE BEBERIBE</option>
                <option value="11972">CABANGA</option>
                <option value="11974">CAJUEIRO</option>
                <option value="11975">CAMPINA DO BARRETO</option>
                <option value="11976">CAMPO GRANDE</option>
                <option value="11977">CASA AMARELA</option>
                <option value="11978">CASA FORTE</option>
                <option value="11979">CAXANGA</option>
                <option value="11973">CACOTE</option>
                <option value="11980">CIDADE UNIVERSITARIA</option>
                <option value="11981">COELHOS</option>
                <option value="11982">COHAB</option>
                <option value="11983">COQUEIRAL</option>
                <option value="11984">CORDEIRO</option>
                <option value="11986">CURADO</option>
                <option value="11985">CORREGO DO JENIPAPO</option>
                <option value="11987">DERBY</option>
                <option value="11988">DOIS IRMAOS</option>
                <option value="11989">DOIS UNIDOS</option>
                <option value="11990">ENCRUZILHADA</option>
                <option value="11991">ENGENHO DO MEIO</option>
                <option value="11992">ESPINHEIRO</option>
                <option value="11993">ESTANCIA</option>
                <option value="11994">FUNDAO</option>
                <option value="11995">GRACAS</option>
                <option value="11996">GUABIRABA</option>
                <option value="11997">HIPODROMO</option>
                <option value="11998">IBURA</option>
                <option value="11999">ILHA DO LEITE</option>
                <option value="12000">ILHA DO RETIRO</option>
                <option value="12001">ILHA JOANA BEZERRA</option>
                <option value="12002">IMBIRIBEIRA</option>
                <option value="12003">IPSEP</option>
                <option value="12004">IPUTINGA</option>
                <option value="12005">JAQUEIRA</option>
                <option value="12006">JARDIM SAO PAULO</option>
                <option value="12007">JIQUIA</option>
                <option value="12008">JORDAO</option>
                <option value="12009">LINHA DO TIRO</option>
                <option value="12010">MACAXEIRA</option>
                <option value="12011">MADALENA</option>
                <option value="12012">MANGABEIRA</option>
                <option value="12013">MANGUEIRA</option>
                <option value="12014">MONTEIRO</option>
                <option value="12015">MORRO DA CONCEICAO</option>
                <option value="12016">MUSTARDINHA</option>
                <option value="12017">NOVA DESCOBERTA</option>
                <option value="12018">PAISSANDU</option>
                <option value="12019">PARNAMIRIM</option>
                <option value="37086">PARQUE AMORIM</option>
                <option value="12020">PASSARINHO</option>
                <option value="12021">PINA</option>
                <option value="12023">PONTO DE PARADA</option>
                <option value="12024">PORTO DA MADEIRA</option>
                <option value="12022">POCO DA PANELA</option>
                <option value="12025">PRADO</option>
                <option value="12026">RECIFE</option>
                <option value="12027">ROSARINHO</option>
                <option value="12028">SAN MARTIN</option>
                <option value="12029">SANCHO</option>
                <option value="12030">SANTANA</option>
                <option value="12031">SANTO AMARO</option>
                <option value="12032">SANTO ANTONIO</option>
                <option value="12035">SOLEDADE</option>
                <option value="12033">SAO JOSE</option>
                <option value="12034">SITIO DOS PINTOS</option>
                <option value="12036">TAMARINEIRA</option>
                <option value="12037">TEJIPIO</option>
                <option value="12038">TORRE</option>
                <option value="12039">TORREAO</option>
                <option value="12040">TORROES</option>
                <option value="12041">TOTO</option>
                <option value="12043">VASCO DA GAMA</option>
                <option value="12042">VARZEA</option>
                <option value="12044">ZUMBI</option>
                <option value="11955">AGUA FRIA</option>
                </select><asp:Label id="sbairro" class="msgErro" style="display: inline;" Text="" runat="server"></asp:Label>
	       </td>
	    </tr>
        <tr>
          <td>
            <label for="nome2">
                Pto Referência: 
            </label>
           </td>
           <td>
	        <input name="preferencia" type="text" runat="server" id="preferencia" maxlength="50" value="" size="50" onkeydown="removeValidacao(this.id);"><asp:Label id="spreferencia" class="msgErro" style="display: inline;" Text="" runat="server"></asp:Label>
	       </td>
	    </tr>	    
        <tr>
          <td>
            <label for="nome2">
                CEP: 
            </label>
           </td>
           <td>
	        <input name="cep" type="text" id="cep" runat="server" maxlength="8" value="" onkeydown="removeValidacao(this.id);" onkeypress="javascript:return maskNumeros(this, event,9);" size="50"><asp:Label id="scep" class="msgErro" style="display: inline;" Text="" runat="server"></asp:Label>
	       </td>
	    </tr>
	    <tr>
          <td>
            <label for="nome2">
                Categoria: 
            </label>
           </td>
           <td>
                <select id="categoria" name="categoria" runat="server" style="width:260px" onchange="removeValidacao(this.id);">
                <option value="">SELECIONE</option>                
                </select><asp:Label id="scategoria" class="msgErro" style="display: inline;" Text="" runat="server"></asp:Label>
	       </td>
	    </tr>
	    <tr><td colspan="2">
	        <div id="divImg">
	         <img id="imgid1" src="img/lphoto.png" alt="Foto" border="0" width="138px;" height="158px;">
	         <asp:FileUpload ID="upload" runat="server" />
            </div>	
            <div id="divFrm" style="margin-left:50px;">
            </div>
	    </td></tr>	
	    </table>
	    </fieldset>
	    <br />
	    <fieldset id="fieldset1" style="width:550px;">
	    <legend>Dados do Denunciante</legend>
	    <table>    
        <tr>
          <td>
            <label for="nome2">
                Nome: 
            </label>
           </td>
           <td >
	        <input name="nome" type="text" runat="server" id="nome" maxlength="50" value="" size="50" onkeydown="removeValidacao(this.id);"><asp:Label id="snome" class="msgErro" style="display: inline;" Text="" runat="server"></asp:Label>
	       </td>
	    </tr>	    
        <tr>
          <td>
            <label for="nome2">
                E-mail: 
            </label>
           </td>
           <td>
	        <input name="email" type="text" runat="server" id="email" maxlength="50" value="" size="50" onkeydown="removeValidacao(this.id);"><asp:Label id="semail" class="msgErro" style="display: inline;" Text="" runat="server"></asp:Label>
                <asp:RegularExpressionValidator ID="RegularExpressionValidator1" runat="server"     
                                    ErrorMessage="E-mail inválido" 
                                    ControlToValidate="email"     
                                    ValidationExpression="^([0-9a-zA-Z]([-\.\w]*[0-9a-zA-Z])*@([0-9a-zA-Z][-\w]*[0-9a-zA-Z]\.)+[a-zA-Z]{2,9})$" />              
	        
	       </td>
	    </tr>	    
        <tr>
          <td>
            <label for="nome2">
                Celular: &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;&nbsp;
            </label>
           </td>
           <td>
	        <input name="celular" type="text" runat="server" id="celular" maxlength="10" value="" size="50" onkeypress="javascript:return maskNumeros(this, event,11);" onkeydown="removeValidacao(this.id);"><asp:Label id="scelular" class="msgErro" style="display: inline;" Text="" runat="server"></asp:Label>
	       </td>
	    </tr>
	    <tr>
        <td colspan="2">
            <label for="nome2">
                Forma de Envio: &nbsp;&nbsp;
            </label>
            <asp:RadioButton ID="envioEmail" runat="server" Text=" Email " GroupName="bt" Checked="true"/> &nbsp;&nbsp;&nbsp;&nbsp;
	        <asp:RadioButton ID="envioCelular" runat="server" Text=" Celular " GroupName="bt"/>
        </td>
	    </tr>	    
  </table>
  </fieldset>
  <div id="cadastrar">
    <asp:Button ID="enviar" runat="server" onclick="dados_pessoais" Text="Cadastrar" />
    <input type="reset" name="" id="Button1" value="Limpar Campos" />
    <asp:Label id="msAlert" class="msgErro" style="display: inline;" Text="" runat="server"></asp:Label>
  
  </div>
</div>
</form>
<div id="footer" style="margin-top:300px;height:8px;">
  <p></p>
</div>
</div>
<div id="imgXp">
    <img src="img/Xpsoftware.png" width="80px;" height="50px;" />
</div>
</body></html>
